import request from '@/utils/request'

// 查询支出分享映射列表
export function listWxPayShareMapper(query) {
  return request({
    url: '/wxPayShareMapper/list',
    method: 'get',
    params: query
  })
}

// 查询支出分享映射详细
export function getWxPayShareMapper(belongId) {
  return request({
    url: '/wxPayShareMapper/' + belongId,
    method: 'get'
  })
}

// 新增支出分享映射
export function addWxPayShareMapper(data) {
  return request({
    url: '/wxPayShareMapper',
    method: 'post',
    data: data
  })
}

// 修改支出分享映射
export function updateWxPayShareMapper(data) {
  return request({
    url: '/wxPayShareMapper',
    method: 'put',
    data: data
  })
}

// 删除支出分享映射
export function delWxPayShareMapper(belongId) {
  return request({
    url: '/wxPayShareMapper/' + belongId,
    method: 'delete'
  })
}
